﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/ModlingMasterPage.master"
    AutoEventWireup="true" CodeBehind="PatientView.aspx.cs" Inherits="RMS.PatientView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PagContent" runat="server">
    <cc:Notification runat="server" ID="Notification" DefaultText="Pationt Add Succefuly" />
    <table class="Details" cellspacing="0" cellpadding="0">
        <tr>
            <td colspan="2" class="header">
                Booking Radiology
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblFirstname" runat="server" Text="First Name "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtFirstname" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtFirstname"
                    ErrorMessage="Please enter patient First Name" Display="Dynamic" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblFamilyname" runat="server" Text="Family Name "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtFamilyname" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblgender" runat="server" Text="Gender"></asp:Label>
            </td>
            <td>
                <center>
                    <table width="100%">
                        <tr>
                            <td>
                                <asp:RadioButton ID="rdbMale" Text="Male" Checked="true" GroupName="gender" runat="server" />
                            </td>
                            <td>
                                <asp:RadioButton ID="rdbFemale" Text="Female" GroupName="gender" runat="server" />
                            </td>
                        </tr>
                    </table>
                </center>
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblbirthdate" runat="server" Text="BirthDate "></asp:Label>
            </td>
            <td>
                <cc:DateControl ID="dcBirthday" runat="server" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Birthday is required"
                    Display="Dynamic" SetFocusOnError="True" ControlToValidate="dcBirthday">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblNationality" runat="server" Text=" ">Nationality</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtNationality" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNationality"
                    ErrorMessage="Please enter patient Nationality" Display="Dynamic" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblPhone" runat="server" Text=" ">Phone</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPhone"
                    ErrorMessage="Please enter patient phone" Display="Dynamic" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblMobile" runat="server" Text=" ">Mobile</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtMobile" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtMobile"
                    ErrorMessage="Please enter patient Mobile" Display="Dynamic" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblAddress" runat="server" Text=" ">Address</asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtAddress" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtAddress"
                    ErrorMessage="Please enter patient Address" Display="Dynamic" SetFocusOnError="True">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="label">
                <asp:Label ID="lblContractID" runat="server" Text=" ">Company Name</asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="ddlCompanyName" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <center>
                    <table width="100%">
                        <tr>
                            <td>
                                <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
                                <asp:Button ID="btnUpdate" Visible="false" runat="server" Text="Update" OnClick="btnUpdate_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnClear" runat="server" Text="Clear" OnClick="btnClear_Click" />
                            </td>
                            <td>
                                <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
                            </td>
                        </tr>
                    </table>
                </center>
            </td>
        </tr>
        <tr>
            <td colspan="2" class="footer">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
